package org.mzy.org.mapper;

import org.mzy.basic.mapper.BaseMapper;
import org.mzy.org.domain.Employee;

import java.util.List;


/**
 * @Package: org.mzy.org.mapper
 * @ClassName: EmployeeMapper
 * @Date:2022/10/9 18:03
 * @Description:
 */

public interface EmployeeMapper extends BaseMapper<Employee> {
    Employee findByName(String username);

    Employee deleteByIogininfoId(Long id);

    Employee selectByLogininfoId(Long id);

    Employee selectByShopId(Long id);

    List<Employee> findByShopId(Long shopId);
}
